<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!-- 内容 -->
		<div style="width: 719px; height: 495px;" id="content">
			<div style="height: 30px;" id="pronav"><p>订单管理&gt;</div>
			<div style="width: 719px;" id="prolist">
             <table id="ListUserTable">
<thead>
	<tr>
	<th class="username">订单号</th>
	<th class="username">下单时间</th>
	<th class="categorydescription">总价</th>
	<th class="useremail">付款方式</th>
	<th class="useroperation">支付状态</th>
	<th class="useroperation">操作</th>
</thead>
	<tbody>
	
		        <c:forEach items="${requestScope.orders }" var="order" >
			    <tr>
			     <td class="username"><span>${order.orderId }</span></td>
	              <td class="username"><span>${order.orderTime }</span></td>
	             <td class="categorydescription"><span>${order.totalPrice }</span></td>
                  <td class="useremail"><span>${order.paymentWay  }</span></td>
                  <td class="username"><span>${order.payState }</span></td>
			      <td><p><a href="ordersupdate.do?id=${order.id }&actionx=update" >修改</a></p>
			      </tr>
				</c:forEach>
		      </tbody>
	</table>


		  </div>
			
		</div>
	<!-- 内容结束 -->
